home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / prog / mod2tutb.zip / MODCOMS.MOD < prev    next >
Text File  |  1989-01-18  |  757b  |  33 lines

  1. (* This is a comment that is prior to the start of the
  2.    program itself. *)
  3.  
  4. MODULE ModComs;
  5.  
  6. FROM InOut IMPORT WriteLn, WriteString;
  7.  
  8.                      (* This is a block
  9.                         of comments that
  10.                         illustrate one way
  11.                         to format some of
  12.                         your comments.    *)
  13.  
  14. BEGIN  (* This is the beginning of the main program *)
  15.  
  16.    WriteString("This is a comments demo program.");
  17.    WriteLn;
  18. (* WriteString("This will not be output.");
  19.    WriteString("Nor will this."); *)
  20.  
  21. END ModComs.  (* This is the end of the main program *)
  22.  
  23. (* This is a comment after the end of the program *)
  24.  
  25.  
  26.  
  27. (* Result of execution
  28.  
  29. This is a comments demo program.
  30.  
  31. *)
  32.  
  33.